package com.navinfo.platform.aero.data.rest.core.service;

import com.navinfo.platform.aero.data.rest.core.repository.QueryRepository;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
import java.util.Map;


/**
 * 数据分析平台service
 * @time 2018-12-04
 * @author CaiHS
 */

public abstract class BaseService {
    public static final Logger logger = LoggerFactory.getLogger(BaseService.class);
    @Autowired
    public QueryRepository queryRepo;
    public abstract List<Map<String, Object>> queryColumns(String parent, List<String> childs, String cycle) throws Exception;
    public abstract List<Map<String, Object>> queryList(Long uid, String start, String end, List<String> columns, String cycle, String parent, List<String> childs) throws Exception;

}
